home *** CD-ROM | disk | FTP | other *** search
/ NBC Slam Jams! / NBC Slam Jams!.iso / nbademo.exe / CABFILE / IDR_CABFILE / Data / UIScript / POPUP.UI < prev    next >
Text File  |  1999-06-17  |  7KB  |  321 lines

  1. "2D\UI\popups"
  2.  
  3. DataContainer {
  4.     String "PopupTitle" {
  5.         EditBox "PopupsTitle";
  6.         InitialValue "";
  7.     };
  8.     String "PopupLine1" {
  9.         EditBox "PopupsMainText1";
  10.         InitialValue "";
  11.     };
  12.  
  13.     String "PopupLine2" {
  14.         EditBox "PopupsMainText2";
  15.         InitialValue "";
  16.     };
  17.  
  18.     String "PopupLine3" {
  19.         EditBox "PopupsMainText3";
  20.         InitialValue "";
  21.     };
  22. };
  23.  
  24. //********************************
  25. //  Images
  26. //********************************
  27. Image "PopupBackground" {
  28.     FileName "backrnd";
  29. };
  30. Image "PopupCancelButtonEnable" {
  31.     FileName "cancelE";
  32. };
  33. Image "PopupCancelButtonFocus" {
  34.     FileName "cancelF";
  35. };
  36. Image "PopupCancelButtonPush" {
  37.     FileName "cancelP";
  38. };
  39. Image "DemoBuyNowEnabled" {
  40.     FileName "buyE";
  41. };
  42. Image "DemoBuyNowFocused" {
  43.     FileName "buyF";
  44. };
  45. Image "DemoBuyNowPushed" {
  46.     FileName "buyP";
  47. };
  48. Image "DemoMicrosoftWebLinkEnabled" {
  49.     FileName "MsF";
  50. };
  51. Image "DemoMicrosoftWebLinkFocused" {
  52.     FileName "MsE";
  53. };
  54. Image "DemoHighVoltageWebLinkEnabled" {
  55.     FileName "hvF";
  56. };
  57. Image "DemoHighVoltageWebLinkFocused" {
  58.     FileName "hvE";
  59. };
  60.  
  61. Image "PopupThankYouTextSBLine" {
  62.     Filename "Line";
  63.     Position [7, 0];
  64. };
  65.  
  66. Image "PopupThankYouTextSBUpEnabled" {
  67.     Filename "ScrolUp";
  68. };
  69.  
  70. Image "PopupThankYouTextSBUpFocused" {
  71.     Filename "ArFocUp";
  72. };
  73.  
  74. Image "PopupThankYouTextSBUpPushed" {
  75.     Filename "ArPushUp";
  76. };
  77.  
  78. Image "PopDownThankYouTextSBDownEnabled" {
  79.     Filename "ScrlDwn";
  80. };
  81.  
  82. Image "PopDownThankYouTextSBDownFocused" {
  83.     Filename "ArFocDn";
  84. };
  85.  
  86. Image "PopDownThankYouTextSBDownPushed" {
  87.     Filename "ArPushDn";
  88. };
  89.  
  90. Image "PopupThankYouTextSBThumb" {
  91.     Filename "Spin";
  92. };
  93.  
  94.  
  95. //********************************
  96. //  Fonts
  97. //********************************
  98. Font "PopupButtonEnable" {
  99.     Filename "enabfnt";
  100.     Translate " abcdefghijklmnopqrstuvwxyz";
  101.     Kerning 0;
  102. };
  103. Font "PopupButtonPush" {
  104.     Filename "PushFnt";
  105.     Translate " abcdefghijklmnopqrstuvwxyz";
  106.     Kerning 0;
  107. };
  108. Font "PopupButtonFocus" {
  109.     Filename "Focufnt";
  110.     Translate " abcdefghijklmnopqrstuvwxyz";
  111.     Kerning 0;
  112. };
  113.  
  114. Font "PopupThankYouTextFont" {
  115.     Filename "ListFnt";
  116.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz" "0123456789.,-" 34 "&/";
  117.     Kerning 0;
  118.     VerticalKerning 2;
  119. };
  120.  
  121.  
  122. //********************************
  123. //  Styles
  124. //********************************
  125. Style "PopupBackground" {
  126.     Image "PopupBackground";
  127. };
  128. ButtonStyle "PopupButtonCancel" {
  129.     Enabled Image "PopupCancelButtonEnable";
  130.     Pushed Image "PopupCancelButtonPush";
  131.     Focused Image "PopupCancelButtonFocus";
  132.     Enabled Font "PopupButtonEnable";
  133.     Focused Font "PopupButtonFocus";
  134.     Pushed Font "PopupButtonPush";
  135. };
  136. ButtonStyle "DemoBuyNowButton" {
  137.     Enabled Image "DemoBuyNowEnabled";
  138.     Pushed Image "DemoBuyNowPushed";
  139.     Focused Image "DemoBuyNowFocused";
  140.     
  141. };
  142. ButtonStyle "DemoHvsWebLink" {
  143.     Enabled Image "DemoHighVoltageWebLinkEnabled";
  144.     Focused Image "DemoHighVoltageWebLinkFocused";    
  145. };
  146. ButtonStyle "DemoMicrosoftWebLink" {
  147.     Enabled Image "DemoMicrosoftWebLinkEnabled";
  148.     Focused Image "DemoMicrosoftWebLinkFocused";    
  149. };
  150.  
  151. Style "PopupThankYouTextStyle" {
  152.     Font "PopupThankYouTextFont";
  153. };
  154.  
  155. Style "PopupThankYouTextSB" {
  156.     Image "PopupThankYouTextSBLine";
  157. };
  158.  
  159. ButtonStyle "PopupThankYouTextSBUp" {
  160.     Enabled Image "PopupThankYouTextSBUpEnabled";
  161.     Focused Image "PopupThankYouTextSBUpFocused";
  162.     Pushed Image "PopupThankYouTextSBUpPushed";
  163. };
  164.  
  165. ButtonStyle "PopupThankYouTextSBDown" {
  166.     Enabled Image "PopDownThankYouTextSBDownEnabled";
  167.     Focused Image "PopDownThankYouTextSBDownFocused";
  168.     Pushed Image "PopDownThankYouTextSBDownPushed";
  169. };
  170.  
  171.  
  172. //********************************
  173. //  Buttons
  174. //********************************
  175. Button "PopupOkayButton" {
  176.     ButtonStyle "PopupButtonCancel";
  177.     Position [311, 251];    
  178.  
  179.     OK;
  180.     Default;
  181.  
  182.     String "Exit" {
  183.         Justify CenterCenter;
  184.         Position [40, 11];
  185.     };
  186. };
  187. Button "PopupCancelButton" {
  188.     ButtonStyle "PopupButtonCancel";
  189.     Position [399, 251];    
  190.  
  191.     Cancel;
  192.     DefaultCancel;
  193.  
  194.     String "cancel" {
  195.         Justify CenterCenter;
  196.         Position [40, 11];
  197.     };
  198. };
  199. Button "DemoBuyNowButton" {
  200.     ButtonStyle "DemoBuyNowButton";
  201.     Position [374, 58];    
  202.  
  203.     Clicked Action GotoURL "http://www.microsoft.com/sports/insidedrive2000/";
  204. };
  205. Button "DemoHighVoltageWebLink" {
  206.     ButtonStyle "DemoHvsWebLink";
  207.     Position [15, 282];    
  208.  
  209.     Clicked Action GotoURL "http://www.high-voltage.com/frames.html";
  210. };
  211. Button "DemoMicrosoftWebLink" {
  212.     ButtonStyle "DemoMicrosoftWebLink";
  213.     Position [203, 282];    
  214.  
  215.     Clicked Action GotoURL "http://www.microsoft.com/sports/insidedrive2000/";
  216. };
  217.  
  218. Button "PopupThankYouTextSBUp" {
  219.     Position [0, 0];
  220.     ButtonStyle "PopupThankYouTextSBUp";
  221. };
  222.  
  223. Button "PopupThankYouTextSBDown" {
  224.     Position [0, 130];
  225.     ButtonStyle "PopupThankYouTextSBDown";
  226. };
  227.  
  228.  
  229. //********************************
  230. //  Thumbs
  231. //********************************
  232. Thumb "PopupThankYouTextSBThumb" {
  233.     Image "PopupThankYouTextSBThumb";
  234.     Vertical;
  235.     FixedPosition 2;
  236.     Range [14, 120];
  237. };
  238.  
  239.  
  240. //********************************
  241. //  List Boxes
  242. //********************************
  243. ListBox "PopupThankYouText" {
  244.     Position [20, 0];
  245.     Size [328, 146];
  246.     Style "PopupThankYouTextStyle";
  247.  
  248.     String "All 29 teams.";
  249.     String "All NBA arenas, in full detail.";
  250.     String "Play a Season or the Playoffs and lead your favorite team";
  251.     String "    to the 2000 Finals.";
  252.     String "Play along with the real NBA season schedule with";
  253.     String "    Tonight's Game.";
  254.     String "The 2000 All-Star Game.";
  255.     String "Practice your jumper or play one-one-against a friend in";
  256.     String "    Practice mode.";
  257.     String "Up to three fully-animated referees.";
  258.     String "Multiple zoomable camera angles, including the";
  259.     String "    over-the-shoulder Drive Cam.";
  260.     String "Coach your team by adjusting a myriad of offensive &";
  261.     String "    defensive settings.";
  262.     String "Authentic team playbooks.";
  263.     String "Advanced control for shooting, rebounding, and shot";
  264.     String "    blocking.";
  265.     String "Full Commentary - engaging and entertaining";
  266.     String "    play-by-play by Kevin Calabro, voice of the";
  267.     String "    Seattle Supersonics and NBA Announcer of the Year,";
  268.     String "    and color commentary by former NBA star";
  269.     String "    Marques Johnson.";
  270.     String "Player trading";
  271.     String "Full Statistics";
  272.     String "Download updates to rosters, statistics, and ratings";
  273.     String " ";
  274.     String " ";
  275.     String "Microsoft NBA Inside Drive 2000 plays and feels like";
  276.     String "    real NBA basketball. It is the most intense and";
  277.     String "    exciting basketball you've ever played -- delivering";
  278.     String "    all the speed, power, and energy of the NBA.";
  279. };
  280.  
  281.  
  282. //********************************
  283. //  Groups
  284. //********************************
  285. ScrollbarGroup "PopupThankYouTextSB" {
  286.     Position [0, 2];
  287.     Style "PopupThankYouTextSB";
  288.  
  289.     Children {
  290.         Button "PopupThankYouTextSBUp";
  291.         Thumb "PopupThankYouTextSBThumb";
  292.         Button "PopupThankYouTextSBDown";
  293.     };
  294. };
  295.  
  296. ListBoxGroup "PopupThankYouText" {
  297.     Position [22, 87];
  298.  
  299.     Children {
  300.         ListBox "PopupThankYouText";
  301.         ScrollbarGroup "PopupThankYouTextSB";
  302.     };
  303. };
  304.  
  305. Group "Popups" {
  306.     Style "PopupBackground";
  307.     Root;
  308.     Position [70, 80];
  309.     Children {
  310.         ListBoxGroup "PopupThankYouText";
  311.  
  312.         Button "PopupOkayButton";
  313.         Button "PopupCancelButton";
  314.         Button "DemoBuyNowButton";
  315.         Button "DemoHighVoltageWebLink";
  316.         Button "DemoMicrosoftWebLink";
  317.         };
  318. };
  319.  
  320.  
  321.